.visuallyHidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;

  &:focus,
  &:active {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
  }
}

.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}

.clearfix:after {
  clear: both;
}

.form-control {
  &:focus {
    @include basic-focus;
  }
}

.btn:not(.inverted), .btn.btn-default, .btn.danger {
  color: $white;
  &:hover {
    color: $white;
  }
}
.btn.inverted:hover {
  color: $white;
}

.breadcrumbs-or-search-wrapper {
  a {
    color: $blue;
    &:hover {
      color: $blue-dark;
    }
  }
  .search {
    button {
      display: inline-block;
      margin-top: 1px;
    }
    form {
      border: none;
      width: unset;
      padding: unset;
      margin: unset;
    }
  }
}

// body > div is the outer #opds-catalog div
body > div > div:first-child {
  position: relative;
  min-height: 100vh;
  block-size: fit-content;
  &:not(.config) main {
    padding-bottom: 56px;
    max-height: 78.5%;
    block-size: fit-content;
  }
  &.config main {
    block-size: fit-content;
  }
}

// overwriting rules from the opds-web-client for the complaints list view
.collection .collection-container .collection-main {
  padding-bottom: 50px;
}
.collection .collection-container{
  height: 90% !important; 
}

/* 自定义样式 */

.advanced-search-dalog{
  height: 46vh;
  width: 330px;
  min-height: 40vh !important;
  right: -37%;
  margin-top: -18vw;
}

.advanced-search-dalog .swal-footer {
  text-align: center;
  margin-top: 20px;
}

.as-form-body table{
  width: 100% !important;
}
.as-form-row{
  width: 100%;
}


.as-form-row span{
  width: 25%;
  text-align: right;
  color: #6c6b6b;
  font-size: 14.5px;
}
.as-form-row td{
  text-align: right;
}
.as-form-body tr{
  // display: block;
  // margin: 5px 0;
  height: 40px;
}

.as-form-row input{
  width: 94%;
  text-align: left;
  border: 0.8px solid gray;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 14.5px;
}
.as-form-row select{
  border-radius: 4px;
  width: 94%;
  padding: 3px 5px;
  font-size: 14.5px;
  border: 0.7px solid gray;
}

.adbtn-search{
  background-color: rgb(0,155,209);
  color: white;
  border: 0.7px solid rgb(0,155,209);
  font-size: 13px;
  padding: 7px 22px !important;
  font-weight: 600;
}
.adbtn-reset{
  background-color: white;
  color: black;
  border: 0.7px solid black;
  font-size: 13px;
  padding: 7px 22px !important;
  font-weight: 400;
  margin-left: 15px;
}

.custom-progress-bar {
  /* 在这里设置您的进度条样式 */
  width: 50%; /* 例如，设置进度条宽度为50% */
  /* 更多样式设置 */
}